package club.jdiy.core.job.exec;

import club.jdiy.core.job.entity.JDiyJob;
import org.quartz.DisallowConcurrentExecution;
import org.quartz.JobExecutionContext;

/**
 * 定时任务处理类（禁止并发执行）
 *
 * @author ziquee(子秋) QQ号:39886616 主页: http://www.jdiy.club
 * @version 20210622
 */
@DisallowConcurrentExecution
public class JobDescHandler extends JobHandler {
    @Override
    protected void run(JobExecutionContext context, JDiyJob JDiyJob) throws Exception {
        invokeMethod(JDiyJob);
    }
}
